/*
 * @Author: byron
 * @Date: 2021-10-25 18:35:55
 * @LastEditTime: 2022-01-25 10:52:58
 */
const getters = {
    tagNum: (state) => state.tag.tagNum,
    tagList: (state) => state.tag.tagList,
    tagHotList: (state) => state.tag.tagHotList,
    userNum: (state) => state.article.userNum,
    articleNum: (state) => state.article.articleNum,
    articleList: (state) => state.article.articleList,
    diaryNum: (state) => state.diary.diaryNum,
    diaryList: (state) => state.diary.diaryList,
    cateList: (state) => state.category.cateList,

    right: (state) => state.app.right,
    toc: (state) => state.app.toc,
    tags: (state) => state.app.tags,
    otherApp: (state) => state.app.otherApp,
    auth: (state) => state.app.auth,
    layout: (state) => state.app.layout,
    theme: (state) => state.app.theme,
    color: (state) => state.app.color,
    clientHeight: (state) => state.app.clientHeight,
    pageSize: (state) => state.app.pageSize,

    collapsed: (state) => state.app.collapsed,
    settingVisible: (state) => state.app.setting.opened,
    logo: (state) => state.app.logo,
    tab: (state) => state.app.tab,
    tabType: (state) => state.app.tabType,
    routerActive: (state) => state.app.routerActive,
    sideWitch: (state) => state.app.sideWitch,
    collapsedWidth: (state) => state.app.collapsedWidth,
    fixedHeader: (state) => state.app.fixedHeader,
    fixedSide: (state) => state.app.fixedSide,
    routes: (state) => state.app.routes,
    colorList: (state) => state.app.colorList,
    routerAnimate: (state) => state.app.routerAnimate,
    language: (state) => state.app.language,
    isMobile: (state) => state.app.isMobile,
    keepAlive: (state) => state.app.keepAlive,
    menu: (state) => state.user.userRoutes,
    power: (state) => state.user.userPowers,
    userInfo: (state) => state.user.userInfo,
    token: (state) => state.user.token,
}
export default getters